package com.qijian.business.domain.query;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 开票计划对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-13
 */

@Data
@ToString
@TableName("sm_plan_invoice")
public class PlanInvoiceQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.NOTIN)
    private Set<Long> idsNot;
    @WhereType(filed = "contract_sales_id")
    private Long contractSalesId;
    @WhereType(filed = "invoice_time")
    private Date invoiceTime;
    @WhereType(filed = "rate")
    private BigDecimal rate;
    @WhereType(filed = "content")
    private String content;
    @WhereType(filed = "delivery_contact_id")
    private Long deliveryContactId;
    @WhereType(filed = "delivery_contact_name")
    private String deliveryContactName;
    @WhereType(filed = "delivery_contact_phone")
    private String deliveryContactPhone;
    @WhereType(filed = "delivery_address")
    private String deliveryAddress;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
